package com.mavenTest.entity;

/**
 * @author XIAOLIANG
 * @ClassName Product.java
 * @Description TODO
 * @createTime 2021年03月05日 15:13:00
 */
public class Product {

	private Integer id;
	private String name;
	private Double price;
	private Integer account;
	private Integer status;
	private String description;

	public Product() {
	}

	public Product(Integer id, String name, Double price, Integer account, Integer status, String description) {
		this.id = id;
		this.name = name;
		this.price = price;
		this.account = account;
		this.status = status;
		this.description = description;
	}


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public Integer getAccount() {
		return account;
	}

	public void setAccount(Integer account) {
		this.account = account;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	@Override
	public String toString() {
		return "Product{" +
				"id=" + id +
				", name='" + name + '\'' +
				", price=" + price +
				", account=" + account +
				", status=" + status +
				", description='" + description + '\'' +
				'}';
	}
}
